from dataclasses import dataclass, field


@dataclass
class CompanyInfo:
    secc_id: int = field(init=False)
    secc_name: str
    secc_code: str
    secc_sign_address: str
    secc_desc: str

    def __init__(self, secc_id, secc_name=None):
        self.secc_id = secc_id
        self.secc_name = secc_name